function NPC_OnCombat(pUnit, event)
pUnit:RegisterEvent("NPC_onCombat", 89, 0)
pUnit:RegisterEvent("Setlevel", 89, 0)
end
//as is see the npc were bugged with the level Altso this scripts is maken at EDB,and it were level 1 when it need to be level 60
function GetclosestPlayer(pUnit, Event)
end

function SetNpclevel(60)
end

function NPC_ON_KILL_TARGET(pUnit, event)
pUnit:RemoveEvents()
end

function NPC_OnDied(pUnit, event)
pUnit:RemoveEvents()
end


RegisterUnitEvent(89, 1, "NPC_OnCombat")
RegisterUnitEvent(89, 4, "NPC_OnDied")
RegisterUnitEvent(89, 3, "NPC_OnDied")